package interceptor;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

/**
 * Check if user is login before some operation
 * Created by ARCSINX on 4/30/2017.
 */
public class LoginInterceptor extends AbstractInterceptor{
    @Override
    public String intercept(ActionInvocation actionInvocation) throws Exception {

        // check if is login

        return actionInvocation.invoke();


    }
}
